package com.rbac.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.domain.dto.PageDTO;
import com.domain.dto.user.AddUserDTO;
import com.domain.dto.user.ModifyUserDTO;
import com.domain.dto.user.ModifyUserRoleDTO;
import com.domain.dto.user.UserDTO;
import com.domain.query.user.UserQuery;
import com.domain.vo.JsonVO;
import com.rbac.pojo.User;

import java.util.List;

public interface IUserService extends IService<User> {
    PageDTO<UserDTO> queryUserList(UserQuery userQuery);

    UserDTO queryUserByUserId(Integer userId);

    Integer addUser(AddUserDTO addUserDTO);

    Integer modifyUser(ModifyUserDTO modifyUserDTO);

    Integer removeUser(List<Integer> userIds);

    Integer modifyRoleUser(ModifyUserRoleDTO modifyUserRoleDTO);

    List<String> queryRoleNameListByUserId(Integer userId);
}
